<!--
 * @Author: sunkai@xinxinapp.cn
 * @Date: 2020-12-28 13:57:48
 * @LastEditTime: 2021-01-05 16:55:42
 * @LastEditors: sunkai@xinxinapp.cn
 * @Description: 
 * @FilePath: /vue-cli-demo/Users/kaisun/Documents/bigFe/fed-e-task-03-01/code/vindex.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id='app'>
    <h3>{{ msg }}</h3>
    <h3>{{ count }}</h3>
    <div v-text='msg'></div>
    <input type="text" v-model='msg'>
    <input type="text" v-model='count'>
    <div v-html="htmlStr"></div>
  </div>
</body>
<script src="./js/dep.js"></script>
<script src="./js/watcher.js"></script>
<script src="./js/compiler.js"></script>
<script src="./js/observer.js"></script>
<script src="./js/vue.js"></script>
<script>
  const vm = new Vue({
    el: '#app',
    data: {
      msg: 'hjelo',
      count: 1,
      person: {
        name: 'chenchong'
      },
      htmlStr: "<h1 style='color:red'>这是一个h1元素内容</h1>"
    }
  })
  console.log('msg:', vm.msg)
</script>
</html>